package project.menu.garagemenu;

import java.util.ArrayList;

import project.controllers.Helper;
import project.menu.IMenu;
import project.menu.IMenuItem;

public class ListFreeGarage implements IMenuItem {
	private static final String name = "Get number free garage";
	private static final String METHOD_NAME = "getEmptyGarage";
	private final Integer id = 1;
	private static IMenu submenu;

	public void setSubmenu(IMenu menu) {
		submenu = menu;
	}

	public Integer getId() {
		return id;
	}

	public String getNameItem() {
		return name;
	}

	public ArrayList<String> action() {
		// int numberPlace=
		return Helper.setParametrs(METHOD_NAME, null);

	}

	public IMenu getMenu() {
		return submenu;
	}

}
